package com.djinfo.work.dao;

import com.djinfo.work.entity.QsTitleEntity;

import java.util.List;

/**
 *
 * @date 2017-06-08 10:48:15
 */
public interface QsTitleDao{

    public void save(QsTitleEntity object);
    public void update(QsTitleEntity object);
    public QsTitleEntity selectOne(String id);
    public List<QsTitleEntity> page(QsTitleEntity object, Integer pageNum, Integer pageSize);
    public Integer getAllRowCount(QsTitleEntity object);
    public void delete(QsTitleEntity object);
    public List<QsTitleEntity> getTileListBySearch(QsTitleEntity qsTitleEntity);

    public List getTitleListById(String hql,String id);
    public Integer getTLevelMaxByQsId(String hql,String id);
    public List getTitleListByQsIdAndLevel(String hql,String id,String level);


}
